package com.clouddisk.file.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@Schema(description = "文件传输对象")
public class FileDTO {

    @Schema(description = "文件ID")
    private Long id;

    @Schema(description = "用户ID")
    private Long userId;

    @Schema(description = "父文件夹ID")
    private Long parentId;

    @Schema(description = "文件名")
    private String fileName;

    @Schema(description = "文件类型")
    private String fileType;

    @Schema(description = "文件大小(字节)")
    private Long fileSize;

    @Schema(description = "文件状态(0-正常,1-已删除)")
    private Integer status;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;
} 